<?php use_helper('JavascriptBase');?>
<div id="breadcrumbs"><?php foreach($breadcrumb as  $crumb => $value):?>
                <?php if($value !='filter'):?>
                   <a href="<?php echo url_for('@'.$value);?>"> <?php echo $crumb;?> > </a>
                   <?php else:?>
                   <?php echo $crumb?>
                   <?php endif;?>
                    <?php endforeach;?></div>
    <div id="product_wrap">
       
    <?php  foreach($pager->getResults() as $product):?>
        <div class="product"><a href="<?php echo url_for('@product?id='.$product->getId());?>" class="productb"><img src="/uploads/images/tn_<?php echo $product->getFilename()?>" class="products" id="product_<?php echo $product->getId();?>" alt="Semra mode <?php echo $product->getName()?>" /></a>

            </div>
        <?php endforeach;?>
        <script type="text/javascript">
            $(document).ready(function(){
                $("a.productb").simpletip(
           { content: 'Details',
                fixed: false});
            });
            </script>
    </div>
<?php if($pager->haveToPaginate()):?>
   <div id="product_paginator" class="pagination"><table class="pagination"><tr><td>
         <a href="<?php echo url_for('@category?title='.$sf_user->getAttribute('category').'&page='.$pager->getPreviousPage());?>" class="pagination_link">Vorige</a>

            <?php foreach ($pager->getLinks() as $page): ?>
      <?php if ($page == $pager->getPage()): ?>
        <span class="active_page" ><?php echo $page ?></span>
      <?php else: ?>
        <a href="<?php echo url_for('@category?title='.$sf_user->getAttribute('category').'&page='.$page);?>" class="pagination_link"><?php echo $page;?></a>

      <?php endif; ?>
    <?php endforeach; ?>
<a href="<?php echo url_for('@category?title='.$sf_user->getAttribute('category').'&page='.$pager->getNextPage());?>" class="pagination_link">Volgende</a>
</td></tr></table>
    </div>
<?php endif;?>